aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
committerLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
commit225c8ca76a8fc6eb2a87a8156b7ce808d3b06507 (patch)
tree58a331db57609ca038d9428f27b064a4c1b32854 /tests/cassettes/test_status_post[Content warning-direct].yaml
parentf920f8b58429b5d7dea43442765df824ac04bf91 (diff)
downloadmastodon.py-225c8ca76a8fc6eb2a87a8156b7ce808d3b06507.tar.gz
Fresh batch of test runs
Diffstat (limited to 'tests/cassettes/test_status_post[Content warning-direct].yaml')
-rw-r--r--tests/cassettes/test_status_post[Content warning-direct].yaml30
1 files changed, 13 insertions, 17 deletions
diff --git a/tests/cassettes/test_status_post[Content warning-direct].yaml b/tests/cassettes/test_status_post[Content warning-direct].yaml
index 09b7d36..3250747 100644
--- a/tests/cassettes/test_status_post[Content warning-direct].yaml
+++ b/tests/cassettes/test_status_post[Content warning-direct].yaml
@@ -12,11 +12,9 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"102315368781184594","created_at":"2019-06-22T13:03:50.092Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 15 body: {string: '{"id":"102317293271304369","created_at":"2019-06-22T21:13:15.481Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
16 warning","visibility":"direct","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315368781184594","url":"http://localhost/@mastodonpy_test/102315368781184594","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 16 warning","visibility":"direct","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317293271304369","url":"http://localhost/@mastodonpy_test/102317293271304369","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
18 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
19 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
20 headers: 18 headers:
21 Cache-Control: ['no-cache, no-store'] 19 Cache-Control: ['no-cache, no-store']
22 Content-Type: [application/json; charset=utf-8] 20 Content-Type: [application/json; charset=utf-8]
@@ -27,10 +25,10 @@ interactions:
27 X-Download-Options: [noopen] 25 X-Download-Options: [noopen]
28 X-Frame-Options: [SAMEORIGIN] 26 X-Frame-Options: [SAMEORIGIN]
29 X-Permitted-Cross-Domain-Policies: [none] 27 X-Permitted-Cross-Domain-Policies: [none]
30 X-Request-Id: [9c161f75-b3c3-43a6-ae42-5725a2edcb5b] 28 X-Request-Id: [44c067b8-e012-4e35-83d2-ae7a61cfe175]
31 X-Runtime: ['0.130933'] 29 X-Runtime: ['0.146654']
32 X-XSS-Protection: [1; mode=block] 30 X-XSS-Protection: [1; mode=block]
33 content-length: ['1596'] 31 content-length: ['1235']
34 status: {code: 200, message: OK} 32 status: {code: 200, message: OK}
35- request: 33- request:
36 body: null 34 body: null
@@ -42,13 +40,11 @@ interactions:
42 Content-Length: ['0'] 40 Content-Length: ['0']
43 User-Agent: [python-requests/2.18.4] 41 User-Agent: [python-requests/2.18.4]
44 method: DELETE 42 method: DELETE
45 uri: http://localhost:3000/api/v1/statuses/102315368781184594 43 uri: http://localhost:3000/api/v1/statuses/102317293271304369
46 response: 44 response:
47 body: {string: '{"id":"102315368781184594","created_at":"2019-06-22T13:03:50.092Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 45 body: {string: '{"id":"102317293271304369","created_at":"2019-06-22T21:13:15.481Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
48 warning","visibility":"direct","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315368781184594","url":"http://localhost/@mastodonpy_test/102315368781184594","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py 46 warning","visibility":"direct","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317293271304369","url":"http://localhost/@mastodonpy_test/102317293271304369","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
49 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 47 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
50 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
51 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
52 headers: 48 headers:
53 Cache-Control: ['no-cache, no-store'] 49 Cache-Control: ['no-cache, no-store']
54 Content-Type: [application/json; charset=utf-8] 50 Content-Type: [application/json; charset=utf-8]
@@ -59,9 +55,9 @@ interactions:
59 X-Download-Options: [noopen] 55 X-Download-Options: [noopen]
60 X-Frame-Options: [SAMEORIGIN] 56 X-Frame-Options: [SAMEORIGIN]
61 X-Permitted-Cross-Domain-Policies: [none] 57 X-Permitted-Cross-Domain-Policies: [none]
62 X-Request-Id: [ce1ff1a3-302f-4044-ba2a-6bbe5f8cb904] 58 X-Request-Id: [1a936f0a-c0c6-4e25-a1a3-f91738fa8e0a]
63 X-Runtime: ['0.082524'] 59 X-Runtime: ['0.071065']
64 X-XSS-Protection: [1; mode=block] 60 X-XSS-Protection: [1; mode=block]
65 content-length: ['1566'] 61 content-length: ['1205']
66 status: {code: 200, message: OK} 62 status: {code: 200, message: OK}
67version: 1 63version: 1
Powered by cgit v1.2.3 (git 2.41.0)